﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace ZPod.MTG
{
	/// <summary>
	/// Estado de un jugador.
	/// Los List&lt;Pair&lt;Card, bool&gt;&gt; representan las cartas disponibles y
	/// si estan giradas o no.
	/// </summary>
	[DataContract]
	[Serializable]
	public class PlayerState
	{
		[DataMember]
		public DateTime Date
		{
			get;
			set;
		}

		[DataMember]
		public List<Card> Graveyard
		{
			get;
			set;
		}

		[DataMember]
		public List<Pair<Card, bool>> Mana
		{
			get;
			set;
		}

		[DataMember]
		public List<Pair<Card, bool>> Creatures
		{
			get;
			set;
		}

		[DataMember]
		public List<Pair<Card, bool>> General
		{
			get;
			set;
		}

		[DataMember]
		public List<Card> Hand
		{
			get;
			set;
		}

		[DataMember]
		public Deck Deck
		{
			get;
			set;
		}
	}
}
